#include "stdafx.h"
#include "RoutePoint.h"

RoutePoint::RoutePoint(Fix t_Fix)
{
	Name = t_Fix.Name;
	Location = t_Fix.Location;
}

RoutePoint::operator DFFix()
{
	DFFix t_Fix;
	t_Fix.Fix = Name;
	t_Fix.Lat = (short)Location.Y;
	t_Fix.Lon = (short)Location.X;
	return t_Fix;
}
